package cn.stylefeng.guns.modular.goodsMcJst.mapper;


import cn.stylefeng.guns.modular.goodsMcJst.entity.GoodsMcJst;
import cn.stylefeng.guns.modular.goodsMcJst.model.params.GoodsMcJstParam;
import cn.stylefeng.guns.modular.goodsMcJst.model.result.GoodsMcJstResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 猫超聚水潭商品对应关系 Mapper 接口
 * </p>
 *
 * @author wp
 * @since 2025-07-24
 */
public interface GoodsMcJstMapper extends BaseMapper<GoodsMcJst> {

    /**
     * 获取列表
     *
     * @author wp
     * @Date 2025-07-24
     */
    List<GoodsMcJstResult> customList(@Param("paramCondition") GoodsMcJstParam paramCondition);
    List<GoodsMcJstResult> customListNew(@Param("paramCondition") GoodsMcJstParam paramCondition);

    /**
     * 获取map列表
     *
     * @author wp
     * @Date 2025-07-24
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") GoodsMcJstParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author wp
     * @Date 2025-07-24
     */
    Page<GoodsMcJstResult> customPageList(@Param("page") Page page, @Param("paramCondition") GoodsMcJstParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author wp
     * @Date 2025-07-24
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") GoodsMcJstParam paramCondition);

    void saveGoodsMcJst(GoodsMcJst goodsMcJst);

    GoodsMcJst selectByMcGoodsCode(String mcGoodsCode);

    void deleteByMcGoodsCode(String mcGoodsCode);
}
